package com.thinkgem.jeesite.common.web;

/**
 * Created by admin on 2017-12-15.
 */
public class BaseMessage {

    private String code;

    private String message;

    public BaseMessage() {
    }

    public BaseMessage(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public static BaseMessage getDefaultSuccessMessage() {
        return new BaseMessage("200", "success");
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
